package com.hnevc.io;

import java.io.FileWriter;
import java.io.IOException;

public class WriterDemo {
	public static void main(String[] args) throws IOException {
		String temp = "你好我的朋友！";
		FileWriter fw = null;
		fw = new FileWriter("D:\\data.txt");
		fw.write(temp);
		fw.close();
	}
}
